package edu.umn.se.trap;

public class Grant {
    
    private String accountNumber;
    private int id, percentCharged;
    
    public Grant()
    {
        id = 0;
        accountNumber = "";
        percentCharged = 0;
    }
    /**
     * Constructor for Grant, contains the id number of grant, account number, and percentage charged.
     * @param idNum id number to indicate what grant it is.
     * @param accountNum the account number of grant to access GrantDB
     * @param perCharged the percentage to be charged on the grant.
     */
    public Grant(int idNum, String accountNum, int perCharged) 
    {
        id = idNum;
        accountNumber = accountNum;
        percentCharged = perCharged;
    }
    /**
     * Get id number of grant
     * @return id number
     */
    public int getId()
    {
        return id;
    }
    /**
     * Get account number of grant
     * @return account number
     */
    public String getAccountNumber()
    {
        return accountNumber;
    }
    /**
     * Get percentage of grant
     * @return percentage
     */
    public int getPercentCharged()
    {
        return percentCharged;
    }
}